<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html >
<html>
<head>
<meta charset = "utf-8">
<!--适配于手机终端和PAD等移动终端，禁止缩放-->
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<meta charset="UTF-8" />
<link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
<title>Insert title here</title>
<style type="text/css">
	#a
	{
		margin-left : 50px;
	}
</style>
</head>
<body background = "../picszq/p9.jpg">
<script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
		<form action="${pageContext.request.contextPath}/regist.do" method = "post">
		<div class="container">
	<div class="row clearfix">
		<div class="col-md-12 column">
			<ul class="breadcrumb">
				<li>
					 <a href="#">Home</a>
				</li>
				<li>
					 <a href="#">Library</a>
				</li>
				<li class="active">
					Data
				</li>
			</ul>
			<div class="row clearfix">
				<div class="col-md-3 column">
				</div>
				<div class="col-md-6 column">
					<form class="form-horizontal" role="form">
						<div class="form-group">
							 <label for="inputEmail3" class="col-sm-2 control-label">用户名</label>
							<div class="col-sm-10">
								<input class="form-control" id="inputEmail3" type="text" name = "name" />
							</div>
						</div>
						<div class="form-group">
							 <label for="inputPassword3" class="col-sm-2 control-label">密码</label>
							<div class="col-sm-10">
								<input class="form-control" id="inputPassword3" type="text" name = "password"/>
							</div>
						</div>
						
						<div class="form-group">
							
							 <label for="inputEmail3" class="col-sm-2 control-label">验证问题</label>
							<div class="col-sm-10">
								<input class="form-control" id="inputEmail3" type="text" name = "question" />
							</div>
						</div>
						<div class="form-group">
							 <label for="inputEmail3" class="col-sm-2 control-label">验证答案</label>
							<div class="col-sm-10">
								<input class="form-control" id="inputEmail3" type="text" name = "answer" />
							</div>
						</div>
						<div class="form-group">
							 <label for="inputEmail3" class="col-sm-2 control-label">权限</label>
							<div class="col-sm-10">
								0<input name="role" type="checkbox" value="0" />
									&nbsp;&nbsp;&nbsp;&nbsp;
								1<input name="role" type="checkbox" value="1" />
							</div>
						</div>
						<div class="form-group">
							<div class="col-sm-offset-2 col-sm-10">
								
							</div>
						</div>
						<div class="form-group">
							<div class="col-sm-offset-2 col-sm-10">
								 <button type="submit" class="btn btn-default">提交</button>
								  <a href = "../mmy/T_user.jsp" id = "a">已经注册？去登陆</a>
							</div>
							
						</div>
					</form>
				</div>
				<div class="col-md-3 column">
				</div>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript">
		function f1() {
			var img = document.getElementById("img1");
			//欺骗浏览 每次发送的请求地址不同
			img.src = "${pageContext.request.contextPath }/code?"
					+ Math.random();
		}
	</script>
	</form>
</body>
</html>